#include "MConstant.h"

namespace STC_calc {

MConstant::MConstant(const std::string& name, const long double value)
{
    this->const_name = name;
    this->value = value;
}
MConstant::MConstant(const MConstant&& a)
{
    this->const_name = a.const_name;
    this->value = a.value;
}
MConstant::~MConstant()
{

}
void MConstant::operator =(const MConstant& A)
{
    this->const_name = a->const_name;
    this->value = a->value;
}

long double MConstant::operator()()
{
    return value;
}
std::string MConstant::name()
{
    return const_name;
}
}
